import { createBrowserRouter } from "react-router-dom";
import Welcome from "../components/Welcome.tsx";
import About from "../components/About.tsx";
import App from "../App.tsx";

const router = createBrowserRouter([
  {
    path: "/",
    element: <App />,
    children: [],
  },
  {
    path: "/welcome",
    element: <Welcome />,
    children: [],
  },
  {
    path: "/about",
    element: <About />,
  },
]);

export default router;
